﻿@using task2.Controllers
@model IEnumerable<Student>
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>list</title>
</head>
<body>
    <ul>
        @foreach(Student student in ViewBag.list)
        {
            <li>@student.Name</li>
        }
    </ul>
</body>
</html>
